@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  background: #f0f2f5;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
  .search {
    display: flex;
    .search-item {
      width: 200px;
      margin-right: 10px;
    }
  }
  .toolbar {
    padding: 10px 0;
  }
  .page {
    text-align: center;
    padding: 10px 0 0 0;
  }
  .card {
    border: solid 1px #DDDDDD;
    border-radius: 5px;
    .card-header {
      background-color: #F2F2F2;
      font-size: 14px;
      font-weight: 500;
      line-height: 50px;
      padding-left: 15px;
      border-bottom: solid 1px #DDDDDD;
    }
    .card-body {
      padding: 15px;
    }
  }
}
